<template>
    <p class="not">404, 页面没有发现.<button @click="testMsg">测试</button></p>

</template>
<script>
    import {showMsg} from '../vuex/actions'
    export default {
        vuex:{
            actions:{
                showMsg
            }
        },
        methods:{
            testMsg(){
                this.showMsg('更新资料成功!','success')
            }
        }
    }
</script>
<style>
    .not{
        text-align: center;
        font-size: 36px;
        margin-top: 20%;
    }
</style>